import request from "@/utils/request";

// 查询列表
export function getList(data) {
  return request({
    url: "/base/flow/task/flowTaskManageList",
    method: "post",
    params: data,
  });
}
// 查询列表 详情
export function getDetails(data) {
  return request({
    url: "/base/flow/task/detail?id=" + data,
    method: "get",
  });
}

// 导出 列表
export function exportList(data) {
  return request({
    url: "/base/flow/task/exportToExcel",
    method: "post",
    params: data,
    responseType: "blob",
  });
}
